home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c++ / 72 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  2.1 KB

  1. Path: fido.asd.sgi.com!austern
  2. From: Dick Menninger <Dick.Menninger@daytonoh.attgis.com>
  3. Newsgroups: comp.std.c++
  4. Subject: Re: auto_ptr again
  5. Date: 18 Jan 1996 13:52:31 PST
  6. Organization: AT&T Global Information Solutions
  7. Approved: austern@isolde.mti.sgi.com
  8. Message-ID: <DLECnv.M16@falcon.daytonoh.attgis.com>
  9. References: <4djrn4$js1@engnews1.Eng.Sun.COM>
  10. Reply-To: mennid <Dick.Menninger@daytonoh.attgis.com>
  11. NNTP-Posting-Host: isolde.mti.sgi.com
  12. X-Original-Date: Thu, 18 Jan 1996 21:50:19 GMT
  13. X-Newsreader: DiscussIT 2.5.1.3 for MS Windows [AT&T Software Products Division]
  14. X-Auth: PGPMoose V1.1 PGP comp.std.c++
  15.     iQBVAwUBMP7BNUy4NqrwXLNJAQH6TAH/WhOIElXwWouP+O6hSYvTCDtZcGMgwezF
  16.     h7lcknAy5a4+ZtFP46DA/T9QXHmWjk20iUU1MVhqHSiGaHNc+eNmxg==
  17.     =5ZR4
  18. Originator: austern@isolde.mti.sgi.com
  19.  
  20. > ==========Steve Clamage, 1/17/96==========
  21.  
  22. [stuff deleted]
  23.  
  24. > That is, single ownership is a deliberate design decision based on the
  25. > semantics an auto-ptr should have. It is not an implementation issue.
  26.  
  27. > Unless someone can present new evidence that shows the
  28. arguments in favor
  29. > of single ownership are wrong, and in addition shows that multiple
  30. > ownership is always better, this subject won't be reopened in
  31. > the committee.
  32.  
  33. > (Yes, examples are known where multiple ownership does what you want.
  34. > That doesn't mean it is overall the best design. And nothing prevents
  35. > you from writing your own multiple-owner class.)
  36.  
  37. I do not see where either approach is always better.  Why is
  38. one way given an easier time of it than the other?  I think
  39. both semantics have real value and need to be part of the
  40. standard arsenal to be used.  Having both major techniques
  41. available (instead of making it a contest that throws out one
  42. valuable technique) is the more desirable solution from the
  43. customer view [even if it would work you guys to the bone].
  44. That also seems more in the C++ style and philosophy.
  45.  
  46. Good Day
  47. Dick
  48. Dick.Menninger@DaytonOH.ATTGIS.COM
  49. ---
  50. [ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  51.   Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy
  52.   is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
  53.